export interface IQuestionOption {
  symbol: string;
  content: string;
}

export type QuestionType = 'Judgement' | 'Select' | 'multiSelect';
export type QuestionDifficulty = '简单' | '中等' | '困难';

export interface IQuestion {
  _id?: string;
  content: string;
  type: QuestionType;
  options: IQuestionOption[];
  answer: number[]; // 正确答案的索引数组
  score: number;
  creator?: string; // 创建者ID
  create_time?: Date;
  difficulty: QuestionDifficulty;
}